import type { RouteRecordRaw } from 'vue-router'

export interface User {
  avatar: string
  name: string
  roles: string[]
  buttons: string[]
  routes: string[]
}

export interface userState {
  token: string | null
  Routes: RouteRecordRaw[]
  userInfo: User
}
